package com.ruoyi.asms.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 资产报修码信息对象 asms_fault_report_tag
 * 
 * @author yfkj
 * @date 2021-10-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AsmsFaultReportTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 故障报修码标签 */
    @TableField(exist = true)
    @TableId(type= IdType.AUTO)
    @ApiModelProperty(value =  "${comment}")
    private Long faultReportTagId;
    /** 标签模板外键 */
    @Excel(name = "标签模板外键")
    @TableField(exist = true)
    @ApiModelProperty(value =  "标签模板外键")
    private Long templateTagId;
    /** 模板标签内容 */
    @Excel(name = "模板标签内容")
    @TableField(exist = true)
    @ApiModelProperty(value =  "模板标签内容")
    private String tagInfo;
    /** 所属组织部门id */
    @Excel(name = "所属组织部门id")
    @TableField(exist = true)
    @ApiModelProperty(value =  "所属组织部门id")
    private Long deptId;
    public static final String FAULT_REPORT_TAG_ID="fault_report_tag_id";
    public static final String TEMPLATE_TAG_ID="template_tag_id";
    public static final String TAG_INFO="tag_info";
    public static final String DEPT_ID="dept_id";
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("faultReportTag", getFaultReportTagId())
            .append("templateTagId", getTemplateTagId())
            .append("tagInfo", getTagInfo())
            .append("deptId", getDeptId())
            .toString();
    }
}
